require 'action_view/helpers/asset_tag_helper'
# require File.dirname(__FILE__) + '/tag_helper'

module SimpleUjs
  module Helpers
    module AssetTagHelper
      include ActionView::Helpers::AssetTagHelper
      
      
      def javascript_include_tag(*sources)
        code = super
        return code unless should_use_ujs?
        @javascript_include_tags ||= []
        @javascript_include_tags << code
        nil
      end
   
    end
  end
end